package com.fms.gui.existingSheets.buttons;

import javax.swing.JButton;

import com.fms.model.domain.FlowSheet;
import com.fms.model.editor.IFlowSheetEditor;

public class EditorButtonBuilder implements IButtonBuilder
{

	private IFlowSheetEditor	editor;


	public EditorButtonBuilder(IFlowSheetEditor _editor)
	{
		this.editor = _editor;
	}
	
	
	@Override
	public JButton makeButton(FlowSheet sheet)
	{
		return new EditSheetButton(editor, sheet);
	}


	
}
